<div class="{{$viewClass['form-group']}}" style="display: flex" >

    {{--    <label class="{{$viewClass['label']}} control-label" style="display: inline; text-align: right;padding-right: 14px">--}}
    {{--        <span style="display: inline; padding-right: 14px">{!! $label !!}</span>--}}

    {{--    </label>--}}


    <div  class="{{ $viewClass['label'] }} control-label"  style="width: 7.5rem;text-align: right; ">
        <span style="display: inline; padding-right: 15%">{!! $label !!}</span>
    </div>

    <div class="{{$viewClass['field']}}">

        @include('admin::form.error')

        <input type="hidden" name="{{$name}}">

        {!! $radio !!}

        @include('admin::form.help-block')

    </div>
</div>

@if(! empty($loads))
    <script once>
        var selector = '{!! $selector !!}',
            fields = '{!! $loads['fields'] !!}'.split('^'),
            urls = '{!! $loads['urls'] !!}'.split('^');

        $(document).off('change', selector);
        $(document).on('change', selector, function () {
            var values = this.value;

            Dcat.helpers.loadFields(this, {
                group: '.fields-group',
                urls: urls,
                fields: fields,
                textField: "{{ $loads['textField'] }}",
                idField: "{{ $loads['idField'] }}",
                values: values,
            });
        });
        $(selector+':checked').trigger('change')
    </script>
@endif
